﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Happy.Cms.Domain.Shares;
using Happy.Cms.Query.Shares;

namespace Happy.Cms.Application.Shares
{
    public static class ISeoInfoViewExtentions
    {
        public static void UpdateSeoInfo(this ISeoInfoView that, SeoInfo seoInfo)
        {
            seoInfo.Title = that.SeoInfo_Title;
            seoInfo.KeyWord = that.SeoInfo_KeyWord;
            seoInfo.Description = that.SeoInfo_Description;
        }
    }
}
